package com.work.keep.datas;

import java.util.List;

/**
 * Created by dllo on 16/1/20.
 */
public class SingleWorkoutDataPioneer {

    /**
     * ok : true
     * data : [{"_id":"5692fdd0b384026718ce4e7e","avatar":"http://wx.qlogo.cn/mmopen/QnM5bMcic4Z1NUk7rNk56Ton3MxAy71LicDJaHiaHXuYlhVYkQJqMudZwVibAODycgcibd4h4KUNMfLPicF8QFSgYKOw/0","id":"5692fdd0b384026718ce4e7e"},{"_id":"56597f4bec081e2c2adf78be","avatar":"http://content.gotokeep.com/avatar/2015/11/28/18/e0333b88aa14a17f940882b1c932ba0de87738f9.jpg","id":"56597f4bec081e2c2adf78be"},{"_id":"569cb7d06633da7c2fb5c24e","avatar":"","id":"569cb7d06633da7c2fb5c24e"},{"_id":"568b0949e6b71c1552df0a5c","avatar":"http://wx.qlogo.cn/mmopen/Y0WM7vqCWRIpsxhZiahzic0Js97UNS18Lq3F1K1pWJibetOhgYXfwo1mKibGCre3GXqdvLCRtL8dbxbibrArURRcjNR3OQicWfgzr1/0","id":"568b0949e6b71c1552df0a5c"},{"_id":"565ce9c3dde8343f746759a4","avatar":"http://static1.gotokeep.com/avatar/2015/11/01/08/83926b4f620b25254f9865a7768ddd4ed0c676f2.jpg","id":"565ce9c3dde8343f746759a4"},{"_id":"55ec4d2ac8385f8d75a35f22","avatar":"http://static1.gotokeep.com/avatar/2015/12/04/23/5d3bb8479b81ea11ec65ec583a66f9fde98a70ce.jpg","id":"55ec4d2ac8385f8d75a35f22"},{"_id":"5508107343876f2e217a0232","avatar":"http://static1.gotokeep.com/avatar/2015/11/21/16/0ca163bc7bcbf76e3c336e9ec947e6847bf7ee3f.jpg","id":"5508107343876f2e217a0232"},{"_id":"56714d97341b92e38720a7a2","avatar":"http://wx.qlogo.cn/mmopen/qWQDYs6XzWvrK6Q4vMAqjV570TEHcQRJOhp3xD4tqjK571GS9aEiaCFW3qM5B2ffVJ5nMAuoh8AbLGe43iaibqcQHNRWYOWjMeZ/0","id":"56714d97341b92e38720a7a2"},{"_id":"56866e5cd83500d96ded783d","avatar":"http://q.qlogo.cn/qqapp/1103727446/2D8F381EACD9CFD9C0234BDBBABD1E64/100","id":"56866e5cd83500d96ded783d"},{"_id":"5613b6c2ba1f7178cda2dd48","avatar":"http://content.gotokeep.com/avatar/2015/11/29/07/5547333c5b1b542129baac08f194346e55576157.jpg","id":"5613b6c2ba1f7178cda2dd48"}]
     * errorCode : 0
     * now : 2016-01-19T13:48:29.413Z
     * version : 1.0.0
     */

    private boolean ok;
    private int errorCode;
    private String now;
    private String version;
    /**
     * _id : 5692fdd0b384026718ce4e7e
     * avatar : http://wx.qlogo.cn/mmopen/QnM5bMcic4Z1NUk7rNk56Ton3MxAy71LicDJaHiaHXuYlhVYkQJqMudZwVibAODycgcibd4h4KUNMfLPicF8QFSgYKOw/0
     * id : 5692fdd0b384026718ce4e7e
     */

    private List<DataEntity> data;

    public void setOk(boolean ok) {
        this.ok = ok;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public void setNow(String now) {
        this.now = now;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public boolean isOk() {
        return ok;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public String getNow() {
        return now;
    }

    public String getVersion() {
        return version;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public  class DataEntity {
        private String _id;
        private String avatar;
        private String id;

        public void set_id(String _id) {
            this._id = _id;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String get_id() {
            return _id;
        }

        public String getAvatar() {
            return avatar;
        }

        public String getId() {
            return id;
        }
    }
}
